﻿using Abp.Dependency;
using HCD.Project;
using System;
using System.Threading.Tasks;

namespace HCD.Web.BackgroundWork
{
    /// <summary>
    /// 业务定时任务
    /// </summary>
    public class ProjectWorker : ITransientDependency
    {
        public IProjectAppService ProjectAppService { get; set; }
        /// <summary>
        /// 任务1
        /// </summary>
        /// <returns></returns>
        public async Task TestJob()
        {
            await ProjectAppService.GetOperatorPool();
        }
        /// <summary>
        /// 任务2
        /// </summary>
        /// <returns></returns>
        public async Task TestJob2()
        {
            await ProjectAppService.GetOperatorPool();
        }
    }
}
